import request from '@/utils/request'
//提供添加成绩接口
export const addScoreService=(scoreModel)=>{
    return request.post('/score',scoreModel)
}
//提供删除成绩接口
export const deleteScoreService=(id)=>{
    return request.delete('/score?id='+id)
}
//提供更新成绩接口
export const updateScoreService=(scoreModel)=>{
    return request.put('/score',scoreModel)
}
//提供列出成绩接口
export const listScoreService=(params)=>{
    return request.get('/score',{params:params})
}
//提供成绩分析接口
export const analysisScoreService=()=>{
    return request.get('/score/analysis')
}
//提供图表数据接口
export const analysisModelService=(modelNum)=>{
    return request.get('/score/model?modelNum='+modelNum)
}
//提供更新成绩接口